package code;

import java.io.Serializable;

class Compte implements Serializable{

	private String nom;
	private String password;
	private int solde;

	public Compte(String nom, String password, int solde) {
		this.nom = nom;
		this.password = password;
		this.solde = solde;
		
	}

	public String getNom(){
		return nom;
	}

	public String getPassword(){
		return password;
	}

	public int getSolde(){
		return solde;
	}
	public void setSolde(int solde){
		this.solde = solde;
	}

}
